package com.lty.practice.zookeeper.controller;

import lombok.extern.slf4j.Slf4j;
import org.apache.commons.lang.time.DateUtils;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

import java.util.UUID;

@Slf4j
@RestController
public class FirstController {
    @GetMapping("/zkTest")
    public String zkTest() {
        log.info("this is first service");
        String str = "first-service-" + System.currentTimeMillis();
        return str;
    }
}
